using System.ComponentModel.DataAnnotations;

namespace Yuekao.Domain.Entitys
{
    /// <summary>
    /// 粉丝表
    /// </summary>
    public class Fan
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int FanId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [StringLength(30)]
        public string AccountName { get; set; } = string.Empty;

        /// <summary>
        /// 手机号
        /// </summary>
        [StringLength(30)]
        public string Phone { get; set; } = string.Empty;

        /// <summary>
        /// 加入时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; } = string.Empty;
        /// <summary>
        /// 医生管理主键Id
        /// </summary>
        public int DoctorId { get; set; }
    }
} 